package com.btkjgc.models;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
// default package



/**
 * ScoreRule entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "score_rule_t")
@DynamicUpdate(true)
@DynamicInsert(true)
public class ScoreRule  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Integer score;
     private Integer amount;
 	private Integer del;
 	private Date createdate;
 	private Integer operid;
 	private Date operdate;

 	@Id
 	@Column(name = "id", unique = true)
 	@GeneratedValue(strategy = GenerationType.AUTO)
    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getScore() {
        return this.score;
    }
    
    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getAmount() {
        return this.amount;
    }
    
    public void setAmount(Integer amount) {
        this.amount = amount;
    }

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public Integer getOperid() {
		return operid;
	}

	public void setOperid(Integer operid) {
		this.operid = operid;
	}

	public Date getOperdate() {
		return operdate;
	}

	public void setOperdate(Date operdate) {
		this.operdate = operdate;
	}
   
 

}